package net.hn.hnms.biz.gasext.dws.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.hn.hnms.biz.gasext.dws.domain.JyglShiftManagementPo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@DS(value = "jygl")
public interface JyglShiftManagementMapper extends BaseMapper<JyglShiftManagementPo> {
    /**
     * 获取当天带值班记录列表
     * @param mineName
     * @return
     */
    List<JyglShiftManagementPo> getFineDataBeOnWatchListBymineName(@Param("mineName") String mineName);
    /**
     * 获取当天带值班记录列表
     * @param mineName
     * @return
     */
    List<JyglShiftManagementPo> getFineDataBeOnWatchListBymineNameAndDate(@Param("mineName") String mineName,@Param("date") Date date);
}
